#pragma once

#include "BaseShape.h"
#ifndef _BOLDBOND_
#define _BOLDBOND_

#define NUM_OF_ANGLE 4
class CBoldBond : public BaseShape
{
public:
	double xCenter;
	double yCenter;
	double radiansOffset;
	double lengthSide;
	CBoldBond(void);
	CBoldBond(CPoint, CPoint, COLORREF);
	BOOL Draw(CDC *cDC);
	~CBoldBond(void);
	CBoldBond (CPoint m_pBegin, CPoint m_pEnd, COLORREF m_clrBack, COLORREF m_cPenColor, BASESHAPE__T m_nShapeType);
	void Serialize ( CArchive &ar );
private:
	//thiet lap toa do cho cac dinh trong hinh chu nhat
	void setCoordinate();
	void DrawNullRect(CDC *);
	int AngleDist();

};
#endif
